<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>add</title>
	<hdjs/>
</head>
<body>
	<div class="wrap">
		<div class="menu_list">
			<ul>
				<li> <a href="{|U:'index'}" class="action">栏目列表</a></li>
				<li> <a href="{|U:'add'}">栏目添加</a></li>
			</ul>
		</div>
		<div class="title-header">添加栏目</div>
		<form method="post">
			<table  class="table1 hd-form">
				<tr>
					<th class="w50">父级</th>
					<td>
						<select name="pid">
							<option value="0" class="w180">顶级</option>
								<list from='$category' name='$c'>
									<option value="{$c.cid}" <if value="$hd.get.pid eq $c.cid">selected=''</if>>{$c._name} </option>
								</list>
						</select>
					</td>
				</tr>
				<tr>
					<th>栏目名称</th>
					<td>
						<input type="text" name="catname" class="w200">
					</td>
				</tr>
				<tr>
					<th>关键字</th>
					<td>
						<input type="text" name="keywords" class="w200">
					</td>
				</tr>
				<tr>
					<th>描述</th>
					<td>
						<input type="text" name="description" class="w200">
					</td>
				</tr>
			</table>
			<div class="position-bottom">
				<input type="submit" class="hd-success">
			</div>
		</form>
	</div>
	<js file='__CONTROLLER_VIEW__/Js/js.js' />
	
</body>
</html>